package concurrency.guava;

import com.google.common.util.concurrent.AbstractExecutionThreadService;

/**
 * Created with IntelliJ IDEA.
 * User: belict
 * Date: 12/1/13
 * Time: 5:29 PM
 * To change this template use File | Settings | File Templates.
 */
public class SomeClass extends AbstractExecutionThreadService {
    @Override
    protected void run() throws Exception {
        for (int i = 0; i < 100; i++) {
            Thread.sleep(100);
            System.out.println("Some class running");
        }

    }
}
